 /**
 * 逻辑、功能相关描述:
 *
 * @author yandawei 编写日期：2008-9-22
 */
package com.ce.pms.charge.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 * @author Administrator
 *
 */
@Embeddable
public class ViewUpdateChargeLateFeeDetailPK implements Serializable {


	@Column(name="TRANSACTION_ID",nullable=true)
	private Long transactionId;

	public Long getTransactionId() {
		return transactionId;
	}

	public void setTransactionId(Long transactionId) {
		this.transactionId = transactionId;
	}

	@Override
	public int hashCode() {
		final int PRIME = 31;
		int result = 1;
		result = PRIME * result + ((transactionId == null) ? 0 : transactionId.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		final ViewUpdateChargeLateFeeDetailPK other = (ViewUpdateChargeLateFeeDetailPK) obj;
		if (transactionId == null) {
			if (other.transactionId != null)
				return false;
		} else if (!transactionId.equals(other.transactionId))
			return false;
		return true;
	}

	public ViewUpdateChargeLateFeeDetailPK(Long transactionId) {
		this.transactionId = transactionId;
	}

	public ViewUpdateChargeLateFeeDetailPK() {
	}




}
